package com.bst.bsj.common.dal.daointerface;

import java.util.List;
import java.util.Map;

import com.bst.bsj.common.dal.dataobject.SeedlingNamesConfig;
import com.sylinxsoft.tools.dao.CommonBaseDAO;

public interface SeedlingNamesConfigDAO extends CommonBaseDAO {
  /*
   *总条数，条件查询
   */
  public Long getCounts(Map paramMap);

  /*
   * 分页查询
   */
  public List<SeedlingNamesConfig> selectAll(Map paramMap, Long offset, Long length);

  /*
   * 根据ID查询对象
   */
  public SeedlingNamesConfig getSeedlingNamesConfig(Long id);

  /*
   *更新
   */
  public int update(SeedlingNamesConfig seedlingNamesConfig);
  
  /*
   *增加
   */
  public Long insert(SeedlingNamesConfig seedlingNamesConfig);
  
  
  /*
   *删除
   */
  public int delete(Long id);
}
